package org.secangkirkopipanas.gxtcore.server.service;

import java.util.List;

import org.secangkirkopipanas.gxtcore.server.domain.SystemBusinessUnit;

public interface ISystemBusinessUnitService {
	
	public static final String NAME = "systemBusinessUnitService";

	public void add(SystemBusinessUnit systemBusinessUnit) throws Exception;

	public List<SystemBusinessUnit> getForList();

	public SystemBusinessUnit get(long unitId);

	public SystemBusinessUnit get(String unitName);

	public List<SystemBusinessUnit> getBusinessUnitMembers(
			SystemBusinessUnit systemBusinessUnit);

	public int getTotalCount();

}